import request from '@/utils/request'

// 查看流程进度流程图
export function readProcessImg(id) {
    return request({
        url: '/workflow/carPackageAudit/processImg/' + id,
        method: 'get'
    })
}


//历史审批
export function historyProcess(instanceId) {
    return request({
        url: '/workflow/carPackageAudit/history/' + instanceId,
        method: 'get'
    })
}

// 查询我的已办任务
export function listDoneCarPackageAudit(query) {
    return request({
        url: '/workflow/task/done',
        method: 'get',
        params: query
    })
}